[XEN] Fix the "early unshadow" optimization to look at the entire pte.
authorGeorge Dunlap <dunlapg@umich.edu>
Tue, 14 Nov 2006 16:21:26 +0000 (11:21 -0500)
committerGeorge Dunlap <dunlapg@umich.edu>
Tue, 14 Nov 2006 16:21:26 +0000 (11:21 -0500)
commit1811ef92771082054f79dfb8f00dfe23e1ecd023
tree626624642b2ca56a2af9da9a7c1bc890f21cb540
parent1a9e089e65ffba498e5c77fb5b17badd73814449
[XEN] Fix the "early unshadow" optimization to look at the entire pte.

The optimization is designed to detect pagetable destruction, but re-uses the
pagetable entries to store data under certain conditions (paging, zeroing, &c);
sometimes the lower 8 bits are 0.  These "false positives" cause unnecessary
shadowing and unshadowing.

Signed-off-by: George Dunlap <gdunlap@xensource.com>
xen/arch/x86/mm/shadow/multi.c